package cn.outsourcing.supermarket.vo;

import cn.outsourcing.supermarket.vo.cart.AddCartListVO;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.List;

/**
 * 无地址时返回的结果
 *
 * @author gzkemays
 * @since 2021/10/23 17:16
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class PayCartNotAddressVO extends PayCartVO {
  @JsonProperty(value = "checkedAddress")
  Integer checkedAddressStatus;
  Integer freightPrice;
  List<AddCartListVO> checkedGoodsList;
  String goodsTotalPrice;
  String orderTotalPrice;
  String actualPrice;
  Integer goodsCount;
  Integer outStock;
  Integer numberChange;
  /** 可使用的最大积分 */
  BigDecimal integral;
  /** 积分可抵扣的金额 */
  BigDecimal integralPay;
}
